﻿<include file="$includeFile.public_header" />

<include file="menu" />

<div id="setting">

    <form action="__URL__/{$action_name}" id="setting_email" method="post">
                <!--<input type="hidden" name="ajax" value="1" />-->
        <table cellpadding="0" cellspacing="0">
            <tr><th width="20%">邮件发送方式:</th><td><span class="fl spaninput"><input type="radio" name="EMAIL_METHOD" checked="checked" value="1" /></span><span class="fl spanradio">采用以下的SMTP服务器</span><label class="lab ml135">默认使用指定的 SMTP 服务器</label></td></tr>
            <tr><th>SMTP服务器:</th><td><input type="text" name="EMAIL_SMTP" id="smtp_service" value="{$Think.config.EMAIL_SMTP}" class="page_txt" /><label class="lab vc">请设置 SMTP 服务器地址，如：smtp.qq.com</label></td></tr>
            <tr><th>SMTP端口:</th><td><input type="text" name="EMAIL_SMTP_PORT" id="smtp_port" value="{$Think.config.EMAIL_SMTP_PORT|default=25}" class="page_txt" /><label class="lab">设置 SMTP 服务器端口，默认为25</label></td></tr>
            <tr><th>发信人邮件地址:</th><td><input type="text" name="EMAIL_USER_EMAIL" id="send_user_email" value="{$Think.config.EMAIL_USER_EMAIL}" class="page_txt" /><label class="lab">设置发信人的邮件地址</label></td></tr>
            <tr><th>SMTP身份验证用户名:</th><td><input type="text" name="EMAIL_AUTH_USER" id="auth_username" value="{$Think.config.EMAIL_AUTH_USER}" class="page_txt" /><label class="lab">如果 SMTP 服务器要求身份验证，必须为本服务器的邮件地址</label></td></tr>
            <tr><th>SMTP身份验证密码:</th><td><input type="password" name="EMAIL_AUTH_PWD" id="auth_password" value="{$Think.config.EMAIL_AUTH_PWD}" class="page_txt" /></td></tr>
            <tr><th>测试邮件地址:</th><td><input type="text" name="EMAIL_TEST_EMAIL" id="test_email" value="{$Think.config.EMAIL_TEST_EMAIL}" class="page_txt" /><label class="lab"><a class="test" onclick="return sendEmail('__URL__/testEmail');">测 试</a></label></td></tr>
            <tr><th></th><td><div class="btn_div"><input type="submit" name="email_btn" class="btn" value="提 交" /></div></td></tr>
        </table>
    </form>

</div>

<include file="$includeFile.public_footer" />
